home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9487 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.3 KB  |  30 lines

  1. Newsgroups: comp.lang.c,comp.unix.programmer,comp.os.linux.development.apps
  2. Path: cannon.ecf!brewste
  3. From: brewste@ecf.toronto.edu (BREWSTER  NEIL VINAY)
  4. Subject: HELP: I/O via LPT1:
  5. X-Nntp-Posting-Host: skule.ecf
  6. Message-ID: <Do2nMH.5A1@ecf.toronto.edu>
  7. Sender: news@ecf.toronto.edu (News Administrator)
  8. Organization: University of Toronto, Engineering Computing Facility
  9. Date: Sun, 10 Mar 1996 21:56:41 GMT
  10.  
  11.     I am working on a project which requires that I interface a
  12. Linux machine with external circuitry. I have read several faqs (available
  13. at www.paranoia.com/~filipg for those interested), and understand how
  14. to go about doing this. The only problem is, I do not know the syntax
  15. (in C) to do it! The faqs give plenty of examples in assembler, basic,
  16. Turbo Pascal, Microsoft C, etc. I am using gcc and the standard libraries...
  17.  
  18. Does anyone know the equivalent of inport() and outport()?
  19.  
  20. Alternatively - is there a way to embed assembler code in a C program?
  21.  
  22. Thanks in advance for (any) help!
  23.  
  24. neil.
  25. __
  26.        Neil Brewster --  University of Toronto Engineering Science 9T8
  27.                   http://www_ug.eecg.toronto.edu/~brewste/
  28.            "The whole of Nature is Chaos : A Fract all should know"
  29. <brewste@ecf.toronto.edu>  <schmeel.brewster@utoronto.ca>  <bj540@torfree.net>
  30.